﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Plane:Vehicle,IFly,Ifire
    {
        public Plane() { }
        public Plane(string name) : base(name) { }


        public void Fly()
        {
            Console.WriteLine("我还会飞");
        }
        public void fire()
        {
            Console.WriteLine("我还会放炮");
        }
    }
}
